package myarraylist;

public class Test {
    public static void main(String[] args) {
        MyAarrayList myAarrayList=new MyAarrayList();
        myAarrayList.add(1);
        myAarrayList.add(2);
        myAarrayList.add(3);
        myAarrayList.add(4);
        myAarrayList.add(5);
        myAarrayList.add(6);
        myAarrayList.add(0,55);
        myAarrayList.display();
        System.out.println(myAarrayList.contains(595));
        int index= myAarrayList.indexOf(2);
        System.out.println(index);
    }
}
